/** When your routing table is too long, you can split it into small modules **/

import Layout from '@/layout'

const systemRouter = {
  path: '/system',
  component: Layout,
  redirect: 'noRedirect',
  name: 'systemDemo',
  meta: {
    title: '系统管理',
    icon: 'component'
  },
  children: [{
      path: 'base',
      component: () => import('@/views/system/base'),
      name: 'systemBase',
      meta: {
        title: '基础设置'
      }
    },
    {
        path: 'attachment',
        component: () => import('@/views/system/attachment'),
        name: 'systemAttachment',
        meta: {
          title: '附件管理'
        }
      },
    {
        path: 'log/login',
        component: () => import('@/views/system/log/login'),
        name: 'systemlog',
        meta: {
          title: '登录日志'
        }
      },
      {
          path: 'log/operate',
          component: () => import('@/views/system/log/operate'),
          name: 'systemlog',
          meta: {
            title: '操作日志'
          }
        }

  ]
}

export default systemRouter
